package com.ccepc.algmanage;

import com.ccepc.common.feign.annotation.EnablePigxFeignClients;
import com.ccepc.common.security.annotation.EnablePigxResourceServer;
import com.ccepc.common.swagger.annotation.EnablePigxSwagger2;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
* @author pig archetype
* <p>
* 项目启动类
*/
@Slf4j
@EnablePigxSwagger2
@EnablePigxFeignClients
@EnablePigxResourceServer
@EnableDiscoveryClient
@SpringBootApplication
@EnableScheduling
public class AlgManageApplication {

    public static void main(String[] args) {
        SpringApplication.run(AlgManageApplication.class, args);
        log.info("算法平台微服务启动成功！！");
    }

}
